package gclib;

/**
 *
 * @author Jason
 */
public class PlayableCharacter extends Character implements Levelable {
	private Integer level;
	private Integer experience;
	private Abilities abilities;
	private Equipment equipment;

	public Integer getLevel() {
		return level;
	}

	public Integer getExperience() {
		return experience;
	}

	@Override
	public Abilities getAbilities() {
		if(abilities==null)
			abilities = new Abilities();
		return abilities;
	}

	@Override
	public Equipment getEquipment() {
		if (equipment==null) {
			equipment = new Equipment(this);
		}
		return equipment;
	}

}
